package com.chen.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.chen.domain.CashRecharge;
import com.baomidou.mybatisplus.extension.service.IService;
import com.chen.model.CoinModel;

public interface CashRechargeService extends IService<CashRecharge>{


    Page<CashRecharge> pageForList(Page<CashRecharge> page, Long coinId, Long userId, String userName, String mobile, Byte status, String numMax, String numMin, String startTime, String endTime);


    /**
     * 审核充币
     * @param cashRecharge
     */
    void checkRecharge(CashRecharge cashRecharge);

    /**
     * 购买GCN
     * @param coinModel
     */
    CashRecharge buy(CoinModel coinModel);
}
